package tc.de.krawallmann.twl.widgets;

import de.matthiasmann.twl.DesktopArea;
import de.matthiasmann.twl.Widget;

/**
 * The Class ZOrderPane.
 * @author KrawallMann
 * @version 1.0
 */
public class ZOrderPane extends DesktopArea {
	/**
	 * Move to front.
	 * 
	 * @param child
	 *            the child
	 */
	public void moveToFront(final Widget child) {
		moveChild(getChildIndex(child), getNumChildren() - 1);
	}

	/*
	 * (non-Javadoc)
	 * @see
	 * de.matthiasmann.twl.DesktopArea#keyboardFocusChildChanged(de.matthiasmann
	 * .twl.Widget)
	 */
	@Override
	protected void keyboardFocusChildChanged(final Widget child) {
		// Empty!
	}
}
